package com.tjsinfo.tjsoa.system.dao;

import java.util.List;

import com.tjsinfo.tjsoa.system.vo.TSystemPost;

public interface ITSystemPostDAO {
	/**
	 * 添加
	 * @param transientInstance
	 */
	public abstract String save(TSystemPost transientInstance);
	/**
	 * 删除
	 * @param transientInstance
	 */
	public abstract void delete(TSystemPost persistentInstance);
	/**
	 * 根据ID查找
	 * @param transientInstance
	 */
	public abstract TSystemPost findById(java.lang.String id);
	/**
	 * 根据实例查找
	 * @param transientInstance
	 */
	public abstract List findByExample(TSystemPost instance);
	/**
	 * 根据属性查找
	 * @param transientInstance
	 */
	public abstract List findByProperty(String propertyName, Object value);
	/**
	 * 查找所有
	 * @param transientInstance
	 */
	public abstract List findAll();
	/**
	 * 更新
	 * @param transientInstance
	 */
	public abstract TSystemPost merge(TSystemPost detachedInstance);

	public abstract void attachDirty(TSystemPost instance);

	public abstract void attachClean(TSystemPost instance);
	
	public boolean update(TSystemPost detachedInstance);

}